﻿using System;
using Volo.Abp.Application.Dtos;

namespace Linker.TaskCenter.Services.Dto
{
    [Serializable]
    public class ServiceDto: EntityDto<Guid>
    {
        public string ServerName { get; set; }

        public string Method { get; set; }

        public string Url { get; set; }

        public string Parameter { get; set; }

        public string Response { get; set; }

        public string Description { get; set; }
        
        public ServiceHealthyEnum Status { get; set; }
        
        public string HealthCheckUrl { get; set; }
        
        public DateTime? LastHealthyCheckTime { get; set; }
    }
}